package cn.gdcp.materialdtest;

import android.util.Log;

public class LogUtil {
    public static final int VERBOSE=1;
    public static final int DEBUG=2;
    public static final int INFO=3;
    public static final int WARN=4;
    public static final int EORRO=5;
    public static final int NOTHING=6;
    public static final int level=VERBOSE;
     public static void v(String tab,String msg){
         if(level<=VERBOSE){
             Log.v(tab,msg);
         }
     }
    public static void d(String tab,String msg){
        if(level<=VERBOSE){
            Log.d(tab,msg);
        }
    }
    public static void i(String tab,String msg){
        if(level<=VERBOSE){
            Log.i(tab,msg);
        }
    }
    public static void w(String tab,String msg){
        if(level<=VERBOSE){
            Log.w(tab,msg);
        }
    }
    public static void e(String tab,String msg){
        if(level<=VERBOSE){
            Log.e(tab,msg);
        }
    }

}
